<include file="Public:header" />
<div class="container clearfix">
    <include file="Public:sidebar" />
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="index.html">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">游戏管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="#" method="post">
                    <table class="search-tab">
                        <tr>
                            <th width="120">选择分类:</th>
                            <td>
                                <select name="search-sort" id="">
                                    <option value="">全部</option>
                                    <option value="19">精品界面</option><option value="20">推荐界面</option>
                                </select>
                            </td>
                            <th width="70">关键字:</th>
                            <td><input class="common-text" placeholder="关键字" name="keywords" value="" id="" type="text"></td>
                            <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <div class="result-wrap">
            <form name="myform" id="myform" method="post">
                <div class="result-title">
                    <div class="result-list">
                        <a href="<!--{:U('game/post')}-->"><i class="icon-font"></i>添加游戏</a>
                        <!--                        <a id="batchDel" href="javascript:void(0)"><i class="icon-font"></i>批量删除</a>
                                                <a id="updateOrd" href="javascript:void(0)"><i class="icon-font"></i>更新排序</a>-->
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th width="5%">游戏ID</th>
                            <th width="8%">游戏名称</th>
                            <th width="8%">充值金额/收益</th>
                            <th width="8%">今日充值/收益</th>
                            <th width="5%">注册人数</th>
                            <th width="5%">充值人数</th>
                            <th width="5%">游戏状态</th>                           
                            <th>操作</th>
                        </tr>
                        <foreach name="list" item="vo" >
                            <tr>
                                <td><!--{$vo.id}--></td>
                                <td><!--{$vo.gamename}--></td>
                                <td></td>
                                <td></td>
                                <td>0</td>
                                <td>2</td>
                                <td>admin</td>                      
                                <td>
                                    <a class="link-update" href="./admin.php?s=/game/post/id/<!--{$vo.id}-->">修改</a>|
                                    <a class="link-del" href="./admin.php?s=/server/index/id/<!--{$vo.id}-->">服务器列表</a>|
                                    <a class="link-del" href="./admin.php?s=/server/post/gid/<!--{$vo.id}-->">添加服务器</a>
                                </td>
                            </tr>
                        </foreach>
                    </table>
                    <div class="list-page"><!--{$page}--></div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>